function [ edge ] = CompFtPtPair( vID, maxL, ftPtsDistance )
%COMPEDGELIST Summary of this function goes here
%   Detailed explanation goes here

% Compute all possible pairs of ftPt (edge)
nbE=0;
for i=1:numel(vID)
    for j=i+1:numel(vID)
        if ftPtsDistance(i,vID(j))<maxL
           nbE=nbE+1;
        end
    end
end
edge=zeros(nbE,2);
eID=0;
for i=1:numel(vID)
    for j=i+1:numel(vID)
        if ftPtsDistance(i,vID(j))<maxL
            eID=eID+1;
            edge(eID,1)=vID(i);
            edge(eID,2)=vID(j);
        end
    end
end


end

